/**
 * @author janet
 * @date 2015-4-16
 */
package net.oscorner.entiry;

import java.util.Date;

import net.oscorner.commons.BaseEntity;
import net.oscorner.commons.annotation.Column;
import net.oscorner.commons.annotation.Table;


/**
 * @author janet
 * @date 2015-4-16 上午11:07:27
 * 
 */
@Table(tableName="user",prefix="t_")
public class User extends BaseEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column(key=true,viewName="用户编号")
	private String userId;
	@Column(viewName="用户名")
	private String userName;
	@Column(viewName="姓名")
	private String realName;
	@Column(viewName="密码",isShow=false)
	private String password;
	@Column(viewName="性别")
	private String gender;
	@Column(viewName="邮箱")
	private String mail;
	@Column(viewName="电话")
	private String telephone;
	@Column(viewName="住址")
	private String address;
	@Column(viewName="创建日期")
	private Date createDate;
	
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
}
